package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 特约条件表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_special_condition")
@ApiModel(value = "CgnciSpecialConditionDO对象", description = "特约条件表")
public class CgnciSpecialConditionDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("条件ID")
    @TableId(value = "condition_id", type = IdType.ASSIGN_ID)
    private Long conditionId;

    @ApiModelProperty("业务ID")
    private Long businessId;

    @ApiModelProperty("条件类型(1-特约,2-除外),码表值:conditionType")
    private String conditionType;

    @ApiModelProperty("条件内容")
    private String conditionContent;

    @ApiModelProperty("序号")
    private Integer sequence;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("更新时间")
    @TableField(update = "now()")
    private Date updateTime;

    @ApiModelProperty("更新人")
    private String updateUser;


}
